package com.travel.convert;


import com.travel.pojo.Hotel;
import com.travel.vo.HotelVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface HotelConverter {
    HotelConverter INSTANCE = Mappers.getMapper(HotelConverter.class);

    Hotel voToEntity (HotelVo hotelVo);

    HotelVo entityToVo(Hotel hotel);
}
